home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / gui / precog2_1.lha / Precognition2_1 / src / src.lha / Precognition / ImageBob.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-28  |  764 b   |  36 lines

  1. #ifndef IMAGEBOB_H
  2. #define IMAGEBOB_H
  3.  
  4. #include <exec/types.h>
  5. #include <graphics/gels.h>
  6. #include "ClippedImageRastPort.h"
  7.  
  8. typedef struct ImageBob
  9. {
  10.    struct Image            Image;
  11.    struct VSprite          VSprite;
  12.    struct Bob              Bob;
  13.    ClippedImageRastPort    ImagePort;
  14.    ClippedImageRastPort    ShadowPort;
  15. } ImageBob;
  16.  
  17.  
  18. BOOL ImageBob_Init( ImageBob *ib, UWORD width, UWORD height, UWORD depth );
  19.  
  20.  
  21. void ImageBob_CleanUp( ImageBob *ib );
  22.  
  23.  
  24.  
  25. BOOL ImageBob_InitImage( struct Image *image, 
  26.                          UWORD         width, 
  27.                          UWORD         height, 
  28.                          UWORD         depth );
  29.  
  30. void ImageBob_CleanUpImage( struct Image *image );
  31.  
  32. BOOL ImageBob_InitVSpriteBob( ImageBob *ibob );
  33.  
  34. #endif
  35.  
  36.